﻿using System.Data.Common;

namespace Micro.Extensions.Data
{
    public interface IDbConnectionFactory
    {
        /// <summary>
        /// 获取DbConnection
        /// </summary>
        /// <param name="master"></param>
        /// <returns></returns>
        DbConnection GetDbConnection(bool master = true);
    }
}
